class AddAvgEvaluationDefault < ActiveRecord::Migration
  def self.up
    change_column :comments, :avg_evaluation, :float, :default => 0
  end

  def self.down
    change_column :comments, :avg_evaluation, :integer
  end
end
